package com.lzy.mall.product.service;


import com.lzy.mall.common.utils.PageUtils;
import com.lzy.mall.product.entity.PmsAttrGroup;
import com.lzy.mall.product.vo.AttrGroupWithAttrsVo;
import com.lzy.mall.product.vo.SkuItemVo;
import com.lzy.mall.product.vo.SpuItemAttrGroup;

import java.util.List;
import java.util.Map;

/**
 * 属性分组(PmsAttrGroup)表服务接口
 *
 * @author lzy
 * @since 2021-08-25 11:41:09
 */
public interface PmsAttrGroupService {

    PageUtils queryPage(Map<String, Object> map, Long cateLogId);

    List<AttrGroupWithAttrsVo> getAttrGroupWithAttrsByCatelogId(Long catelogId);



    void save(PmsAttrGroup attrGroup);

    void updateById(PmsAttrGroup attrGroup);

    void removeByIds(List<Long> toList);

    List<SpuItemAttrGroup> getAttrGroupWithAttrsBySpuId(Long spuId, Long catalogId);

}
